<!--
 * @Author: your name
 * @Date: 2021-05-24 15:25:51
 * @LastEditTime: 2021-05-27 16:34:41
 * @LastEditors: Please set LastEditors
 * @Description: In User Settings Edit
 * @FilePath: \lottery\index.html
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <script src="./script/index.js"></script>
  <style>
    body {
      height: 100vh;
      overflow: hidden;
    }
    .card {
      background-color: #000;
      border-radius: 10px;
      position:absolute;
    }
    .box {
      width: 300px;
      height: 200px;
      background-color: #eee;
      border-radius: 10px;
      position: fixed;
      bottom: 10px;
      left: calc(50% - 150px);
      line-height: 200px;
      text-align: center;
      /* transition: rotate 2s step-end; */
    }
    .shows {
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.3);
      position: absolute;
      top: 0;
      left: 0;
      text-align: center;
      padding-top: 200px;
      z-index: 998;
    }
    .btn {
      padding: 10px 20px;
    }
    .opcity {
      /* opacity: 0; */
    }
  </style>
</head>
<body>
  <div id="card"></div>
  <div class="shows" id="shows" style="display: none;"></div>
  <div class="box" id="box"></div>
</body>
</html>
<script>
  let lottery = new Lottery('sec')
  lottery.initCard()
</script>
